package com.embracesource.monitor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.embracesource.monitor.entity.Product;

import java.util.List;

/**
 * <p>
 * 基础平台-产品表 服务类
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-09-18
 */
public interface IProductService extends IService<Product> {

    boolean saveProduct(Product product);

    boolean createProduct(Product product);

    boolean deleteProduct(String productId);

    boolean updateProduct(Product product);

    Product selectProduct(String productId);

    Page<Product> listProduct(Product product, Long current, Long size);
}
